# Rainbow Bubble
Rainbow Bubble is a [Processing](https://processing.org/) sketch based on a bubble tube with a rainbow effect.

## How to Build
Open the __RainbowBubble.pde__ sketch in Processing and click __Export Application__ from the __File__ menu, fill
in the desired settings and click the __Export__ button. The pre-built versions are available for the following
platforms and architectures:

* GNU+Linux (x86, x86_64, arm64, armv6hf)
* Microsoft Windows (x86, x86_64)

Apologies to anyone using macOS but Processing
[doesn't allow me to export sketches for it](https://github.com/processing/processing/wiki/Export-Info-and-Tips)
as I am using Arch GNU+Linux.

## How to Use
Download and install a Java Runtime Environment and run the RainbowBubble script from the directory matching the
OS and processor (probably application.*something*64) or alternatively, open __RainbowBubble.pde__ in the
Processing IDE and click the __Run__ button on the top-left.

Once the program is running, it can be influenced with the following keys

* Spacebar: Toggle the bubbles on and off.
* P: Pause the background rainbow. Press P again to resume colour cycling.
* T: Toggle Bubble Tea Mode - Make the bubbles different colours.
* 1-6: Set the background rainbow to a certain colour depending on the number key pressed.

## License
Rainbow Bubble is licensed under the [Apache License 2.0](http://apache.org/licenses/LICENSE-2.0).
